/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.uc.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author yzh
 * @date 2021-2-22
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveSignatureRequest {

	/**
	 *
	 */

	private Long signatureId;
	/**
	 * 用户id
	 */
	@NotNull
	private Long userId;
	/**
	 * 用户状态：0-提交申请，1-审核通过，2-驳回
	 */
	@NotNull @Max(127)
	private Integer status;
	/**
	 *
	 */
	@NotNull
	private String sign;
	/**
	 *
	 */
	@NotNull
	private LocalDateTime createTime;
	/**
	 *
	 */
	@NotNull
	private LocalDateTime updateTime;
	/**
	 *
	 */
	@NotNull
	private Boolean deleteFlag;

}
